package com.ss.android.article.base.feature.f.c;

import android.view.SurfaceHolder;
import android.view.SurfaceHolder;

public final class b implements SurfaceHolder.Callback {
    private final a a;

    public b(a arg1) {
        this.a = arg1;

    }

    public final void surfaceChanged(SurfaceHolder arg1, int arg2, int arg3, int arg4) {
    }

    public final void surfaceCreated(SurfaceHolder arg3) {
        this.a.f = true;
        if(this.a.g != null) {
            this.a.g.run();
            this.a.g = null;
        }
    }

    public final void surfaceDestroyed(SurfaceHolder arg3) {
        this.a.f = false;
    }
}

